import type { DefaultTheme, UserConfig } from 'vitepress'

export const baseConfig: UserConfig = {
  lang: 'zh-CN', // 语言
  appearance: 'dark',
  head: [
    ['link', { rel: 'icon', href: '/favicon.ico' }]
  ],
}

export const baseTheme: DefaultTheme.Config = {
  logo: '/favicon.ico',
  socialLinks: [
    { icon: 'github', link: 'https://github.com/your-repo' }
  ],
  footer: {
    copyright: 'MIT Licensed | Copyright © 2025',
  },
  docFooter: {
    prev: '上一页',
    next: '下一页'
  },
  outline:{
    label: '页面导航',
    level: [2, 3]
  }
}